package com.atguigu.service;

import com.atguigu.entity.PageResult;
import com.atguigu.entity.QueryPageBean;
import com.atguigu.pojo.Address;

import java.util.List;

/**
 * @author Eric
 * @Create 2020-09-24  13:52
 * @Version project-workspace-0912
 **/
public interface AddressService {
   List<Address> findAll();

    PageResult findPage(QueryPageBean queryPageBean);

    void addAddress(Address address);

    void deleteById(Integer id);
}
